<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,u ser-scalable=no">
  <title>work</title>
  <link rel="stylesheet" href="/src/styles/index.scss">
  <script src="https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"></script>
  <script>
    if ('addEventListener' in document) {
      document.addEventListener('DOMContentLoaded', function () {
        FastClick.attach(document.body);
      }, false);
    }
    if (!window.Promise) {
      document.writeln('<script src = "https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"' + '>' + '<' + '/' + 'script>');
    }
  </script>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->

  <script>
    window.onresize = function () {
      pxRem();
    }
    pxRem();
    function pxRem() {
      var htmlwidth = document.documentElement.clientWidth || document.body.clientWidth;
      var htmlDom = document.getElementsByTagName('html')[0];
      htmlDom.style.fontSize = htmlwidth / 20 + "px";
    }
  </script>
</body>

</html>